<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>定位练习</title>
		<style type="text/css">
			body{
				margin: 0;
				padding: 0; 
			}
			
			#d1{
				
				position: absolute;
				
			}
			#d2{
				position: absolute;
				top: 15.75rem;
				background-color: blueviolet;
				width: 22.5rem;
				height: 3.125rem;
				opacity: 0.5;
			}
		</style>
	</head>
	<body>
		<div id="d1" ><img src="../img/2.jpg" style="width: 18.75rem;height: 12.5rem;"></div>
		<div id="d2"><samp style="color: #EEEEEE;">睡美人</samp></div>
	</body>
</html>
